Signal processing device and image processing device

ABSTRACT

A signal processing device and an image processing device are provided. The signal processing device includes a matrix calculator for performing a matrix operation selected by a switch part among a DCT matrix operation, a Haar matrix operation, and a Slant matrix operation, with respect to an input signal. Thus, the signal processing device can be implemented in a hybrid architecture capable of selectively processing the DCT-II transform, the Haar transform, and the Slant transform with a single chip.

TECHNICAL FIELD OF THE INVENTION

The present invention relates generally to a signal processing device and an image processing device. More particularly, the present invention relates to a signal processing device and an image processing device for Discrete Cosine Transformation (DCT)-II, Haar, and Slant transforms.

BACKGROUND OF THE INVENTION

Discrete Cosine Transformation (DCT)-II, Haar, and Slant transform techniques are applied variously in signal processing. In particular, these signal transform techniques are used for image encoding processing or signal modulation.

The DCT, specifically, the DCT-II is used to process signals and images. The DCT is widely used for lossy compression because it has an energy compaction property in which most of signal energy components tend to be concentrated in a few low-frequency components. For example, JPEG image compression, MJPEG, MPEG, and DV video compression adopt the DCT. Two-dimensional DCT-II is applied to N×N blocks and its results are quantized and entropy-coded.

The Haar transform and the Slant transform are also useful in various signal processing fields.

Circuits for the DCT-II, the Haar transform, and the Slant transform are implemented as separate circuits or separate chips. However, when the transform circuits are separately provided, a device including the circuits increases in volume and its processing rate is retarded.

In this respect, what is needed is a method for realizing a unified circuit for the DCT-II, the Haar transform, and the Slant transform.

SUMMARY OF THE INVENTION

To address the above-discussed deficiencies of the prior art, it is a primary aspect of the present invention to provide a signal processing device including a matrix calculator which performs a matrix operation selected by a switch part from a DCT matrix operation, a Haar matrix operation, and a Slant matrix operation, with respect to an input signal, and an image processing device using the same.

According to one aspect of the present invention, a signal processing device includes a switch part for selecting any one of a Discrete Cosine Transformation (DCT) matrix operation, a Haar matrix operation, and a Slant matrix operation; and a matrix calculator for performing a matrix operation selected by the switch part among the DCT matrix operation, the Haar matrix operation, and the Slant matrix operation, with respect to an input signal.

The matrix calculator may include one butterfly structure shared and used in the DCT-II matrix operation, the Haar matrix operation, and the Slant matrix operation.

The matrix calculator may include a row permutation matrix calculator for processing a row permutation matrix operation for the input signal and sending the operated signal to the switch part; a DCT-II matrix calculator for processing the DCT-II matrix operation for the signal output from the switch part; a Haar matrix calculator for processing the Haar matrix operation for the signal output from the switch part; Slant matrix calculator for processing the Slant matrix operation for the signal output from the switch part; a butterfly structure calculator for processing a butterfly structure operation for a signal output from one of the DCT-II matrix calculator, the Haar matrix calculator, and the Slant matrix calculator; and a column permutation matrix calculator for processing a column permutation matrix operation for a signal output from the butterfly structure calculator.

The switch part may output the signal input from the row permutation matrix calculator to any one of the DCT-II matrix calculator, the Haar matrix calculator, and the Slant matrix calculator.

The DCT-II matrix calculator may perform the matrix operation for a matrix [C]_(N) in the following equation:

$\begin{matrix} {{{\left\lbrack \Pr \right\rbrack_{N}\lbrack C\rbrack}_{N}\lbrack{Pc}\rbrack}_{N} = \begin{bmatrix} C_{N/2} & C_{N/2} \\ B_{N/2} & {- B_{N/2}} \end{bmatrix}} \\ {= \left( {\begin{bmatrix} I_{N/2} & I_{N/2} \\ I_{N/2} & {- I_{N/2}} \end{bmatrix}\begin{bmatrix} C_{N/2} & 0 \\ 0 & B_{N/2} \end{bmatrix}} \right)^{T}} \end{matrix}$

where [C]_(N/2) denotes a

$\frac{N}{2} \times \frac{N}{2}$

DCT-II matrix, [B]_(N/2)=└(C_(2N) ^(f(m,n)))_(m,n)┘_(N/2), and

$\left\{ {\begin{matrix} {{{f\left( {m,1} \right)} = {{2m} - 1}},} \\ {{{f\left( {m,{n + 1}} \right)} = {{f\left( {m,n} \right)} + {{f\left( {m,1} \right)} \times 2}}},m,{n \in {\left\{ {1,2,\ldots \mspace{14mu},{N/2}} \right\}.}}} \end{matrix}\quad} \right.$

The Haar matrix calculator may perform the matrix operation for a matrix HT (N) in the following equation:

$\begin{matrix} {{\left\lbrack \Pr \right\rbrack_{N}{{{HT}(N)}\lbrack{Pc}\rbrack}_{N}} = {{Har}(n)}} \\ {= \begin{bmatrix} {{Har}\left( {N/2} \right)} & {{Har}\left( {N/2} \right)} \\ {2^{{({{\log_{2}{(N)}} - 1})}/2}I_{N/2}} & {{- 2^{{({{\log_{2}{(N)}} - 1})}/2}}I_{N/2}} \end{bmatrix}} \\ {= \left( {\begin{bmatrix} H_{N/2} & H_{N/2} \\ H_{N/2} & {- H_{N/2}} \end{bmatrix}\begin{bmatrix} S_{N/2} & 0 \\ 0 & {2\left( \frac{H_{N/2}}{N/2} \right)} \end{bmatrix}} \right)^{T}} \\ {= {\left( {{\begin{bmatrix} H_{N/2} & 0 \\ 0 & H_{N/2} \end{bmatrix}\begin{bmatrix} I_{N/2} & I_{N/2} \\ I_{N/2} & {- I_{N/2}} \end{bmatrix}}\begin{bmatrix} S_{N/2} & 0 \\ 0 & {2\left( \frac{H_{N/2}}{N/2} \right)} \end{bmatrix}} \right)^{T}.}} \end{matrix}$

The Slant matrix calculator may perform the matrix operation for a matrix S(N) in the following equation:

$\begin{matrix} {{\left\lbrack \Pr \right\rbrack_{N}{{S(N)}\lbrack{Pc}\rbrack}_{N}} = {\frac{1}{\sqrt{N}}\begin{bmatrix} H_{N/2} & H_{N/2} \\ A_{N/2} & {- A_{N/2}} \end{bmatrix}}} \\ {= {\frac{1}{\sqrt{N}}{\left( {\begin{bmatrix} I_{N/2} & I_{N/2} \\ I_{N/2} & {- I_{N/2}} \end{bmatrix}\begin{bmatrix} H_{N/2} & 0_{4} \\ 0_{4} & A_{N/2} \end{bmatrix}} \right)^{T}.}}} \end{matrix}$

The matrix calculator may include a hybrid architecture for selectively performing the DCT-II matrix operation, the Haar matrix operation, and the Slant matrix operation.

The switch part and the matrix calculator may be implemented as a single chip.

According to another aspect of the present invention, an image processing device encodes an image signal using the signal processing device.

Other aspects, advantages, and salient features of the invention will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the annexed drawings, discloses exemplary embodiments of the invention.

Before undertaking the DETAILED DESCRIPTION OF THE INVENTION below, it may be advantageous to set forth definitions of certain words and phrases used throughout this patent document: the terms “include” and “comprise,” as well as derivatives thereof, mean inclusion without limitation; the term “or,” is inclusive, meaning and/or; the phrases “associated with” and “associated therewith,” as well as derivatives thereof, may mean to include, be included within, interconnect with, contain, be contained within, connect to or with, couple to or with, be communicable with, cooperate with, interleave, juxtapose, be proximate to, be bound to or with, have, have a property of, or the like. Definitions for certain words and phrases are provided throughout this patent document, those of ordinary skill in the art should understand that in many, if not most instances, such definitions apply to prior, as well as future uses of such defined words and phrases.

BRIEF DESCRIPTION OF THE DRAWINGS

For a more complete understanding of the present disclosure and its advantages, reference is now made to the following description taken in conjunction with the accompanying drawings, in which like reference numerals represent like parts:

FIG. 1 is a block diagram of a hybrid signal processing device capable of processing all of DCT-II, Haar transform, and Slant transform according to an exemplary embodiment of the present invention;

FIG. 2 is a butterfly data flow diagram of an 8×8 DCT-II matrix according to an exemplary embodiment of the present invention;

FIG. 3 is a butterfly data flow diagram of an 8×8 Haar matrix according to an exemplary embodiment of the present invention; and

FIG. 4 is a butterfly data flow diagram of an 8×8 Slant matrix according to an exemplary embodiment of the present invention.

Throughout the drawings, like reference numerals will be understood to refer to like parts, components and structures.

DETAILED DESCRIPTION OF THE INVENTION

Reference will now be made in detail to the embodiment of the present general inventive concept, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the like elements throughout. The embodiment is described below in order to explain the present general inventive concept by referring to the drawings.

Exemplary embodiments of the present invention provide equations for a new representation of Discrete Cosine Transformation (DCT)-II, Haar transform, and Slant transform matrices decomposed based on block-inverse processing. Based on the equations, the DCT-II, the Haar transform, and the Slant transform matrices have similar recursive computational pattern, and are decomposed to one orthogonal character matrix and a special sparse matrix. The special sparse matrix belongs includes Jacket matrices. The DCT-II, Haar, and Slant transform matrices are decomposed to reveal their common part, and the common part can be implemented using a butterfly structure. Thus, a hybrid signal processing device capable of selectively processing the DCT-II, the Haar transform, and the Slant transform in a single circuit structure can be implemented. The matrix decomposition for the hybrid signal processing device is now illustrated based on equations.

1. Concept and Properties of Jacket Matrix

Normal matrices (for example, real symmetric, Hermitian, and unitary matrix) can be diagonalized by unitary transform. In a general case, any matrix with linearly independent columns can be factorized into AE=QR. Such factorization can be applied to orthogonal matrices such as DCT/Haar/Slant transform via a Jacket matrix. Herein, R denotes a sparse matrix and Q denotes the unitary matrix. As a special case of QR decomposition, the matrix Q can be fixed to a trigonometric transform matrix.

The Jacket matrix includes a Hadamard matrix having weights c. c is j (j denotes an imaginary unit j=√{square root over (−1)}) or 2^(k) (k is an integer). The Jacket matrix [J]_(N) (N=2^(n), nε{2,3, . . . }) is symmetric.

According to a general definition, when an inverse matrix of a square matrix [J]_(N)=└a_(ij)┘_(N) is an element-wise inverse (that is,

$\left. {{\lbrack J\rbrack_{N}^{- 1} = {\frac{1}{N}\left\lbrack {1/a_{ji}} \right\rbrack}},{1 < i},{j < N}} \right),$

the matrix [J]_(N) is a Jacket matrix.

Orthogonal matrices such as Hadamard, DFT, DCT, Haar, and Slant matrices belong to the Jacket matrices family. N×N Jacket matrices can be obtained using a recursive equation.

[J] _(N) =[J] _(N/2)

[H] ₂ , N=2^(n) , nε{2,3, . . . }  (1)

denotes the Kronecker product.

2. Decomposition of DCT/Haar/Slant Matrix

A. Recursive Factorization of DCT Matrix Via Jacket Matrix

Each element in the DCT-II matrix [C_(N)] is defined as Equation 2.

$\begin{matrix} {{{\left\lbrack C_{N} \right\rbrack_{m,n} = {\sqrt{\frac{2}{N}}k_{m}\cos \; \frac{m\left( {n + \frac{1}{2}} \right)\pi}{N}}},m,{n = 0},1,\ldots \mspace{14mu},{N - 1}}{{{where}\mspace{14mu} k_{j}} = \left\{ \begin{matrix} {1,} & {{j = 1},2,\ldots \mspace{14mu},{N - 1}} \\ {\frac{1}{\sqrt{2}},} & {{j = 0},N} \end{matrix} \right.}} & (2) \end{matrix}$

Based on Equation 2, a 2×2 DCT-II matrix can be simply written as Equation 3.

$\begin{matrix} {\lbrack C\rbrack_{2} = {\begin{bmatrix} \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} \\ C_{4}^{1} & C_{4}^{3} \end{bmatrix} = {\begin{bmatrix} \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} \\ \frac{1}{\sqrt{2}} & {- \frac{1}{\sqrt{2}}} \end{bmatrix} = {\begin{bmatrix} 1 & 1 \\ 1 & {- 1} \end{bmatrix}\frac{1}{\sqrt{2}}}}}} & (3) \end{matrix}$

$\frac{1}{\sqrt{2}}$

is a special element inverse matrix of order 1 and its inverse is √{square root over (2)}. C_(j) ^(i)=cos(iπ/l) denotes a cosine unit for DCT computations.

A 4×4 DCT-II matrix is given by Equation 4.

$\begin{matrix} {\lbrack C\rbrack_{4} = \begin{bmatrix} \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} \\ C_{8}^{1} & C_{8}^{3} & C_{8}^{5} & C_{8}^{7} \\ C_{8}^{2} & C_{8}^{6} & C_{8}^{6} & C_{8}^{2} \\ C_{8}^{3} & C_{8}^{7} & C_{8}^{1} & C_{8}^{5} \end{bmatrix}} & (4) \end{matrix}$

By exploiting a row permutation matrix [Pr]₄, Equation 5 is produced.

$\begin{matrix} \begin{matrix} {{\left\lbrack \Pr \right\rbrack_{4}\lbrack C\rbrack}_{4} = {\begin{bmatrix} 1 & 0 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 1 \end{bmatrix}\begin{bmatrix} \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} \\ C_{8}^{1} & C_{8}^{3} & C_{8}^{5} & C_{8}^{7} \\ C_{8}^{2} & C_{8}^{6} & C_{8}^{6} & C_{8}^{2} \\ C_{8}^{3} & C_{8}^{7} & C_{8}^{1} & C_{8}^{5} \end{bmatrix}}} \\ {= \begin{bmatrix} \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} \\ C_{8}^{2} & C_{8}^{6} & C_{8}^{6} & C_{8}^{2} \\ C_{8}^{1} & C_{8}^{3} & C_{8}^{5} & C_{8}^{7} \\ C_{8}^{3} & C_{8}^{7} & C_{8}^{1} & C_{8}^{5} \end{bmatrix}} \end{matrix} & (5) \end{matrix}$

The row permutation matrix is given by Equation 6.

$\begin{matrix} {{\left\lbrack \Pr \right\rbrack_{2} = \lbrack I\rbrack_{2}},{\left\lbrack \Pr \right\rbrack_{N} = \left\lbrack {pr}_{ij} \right\rbrack_{N}},{N \geq 4},\left\{ \begin{matrix} {{{pr}_{i,j} = 1},} & {{{{if}\mspace{14mu} i} = {2j}},{0 \leq j \leq {\frac{N}{2} - 1}},} \\ {{{pr}_{i,j} = 1},} & {{{{if}\mspace{14mu} i} = {\left( {{2j} + 1} \right){mod}\; N}},{\frac{N}{2} \leq j \leq {N - 1}},} \\ {{{pr}_{i,j} = 0},} & {others} \end{matrix} \right.} & (6) \end{matrix}$

Since C₈ ¹=−C₈ ⁷, C₈ ²=−C₈ ⁶, C₈ ³=−C₈ ⁵ according to the Cosine properties, Equation 5 can be rewritten as Equation 7.

$\begin{matrix} \begin{matrix} {{\left\lbrack \Pr \right\rbrack_{4}\lbrack C\rbrack}_{4} = \begin{bmatrix} \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} \\ C_{8}^{2} & C_{8}^{6} & C_{8}^{6} & C_{8}^{2} \\ C_{8}^{1} & C_{8}^{3} & C_{8}^{5} & C_{8}^{7} \\ C_{8}^{3} & C_{8}^{7} & C_{8}^{1} & C_{8}^{5} \end{bmatrix}} \\ {= \begin{bmatrix} \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} \\ C_{8}^{2} & {- C_{8}^{6}} & {- C_{8}^{6}} & C_{8}^{2} \\ C_{8}^{1} & C_{8}^{3} & {- C_{8}^{5}} & {- C_{8}^{7}} \\ C_{8}^{3} & {- C_{8}^{7}} & C_{8}^{1} & {- C_{8}^{5}} \end{bmatrix}} \end{matrix} & (7) \end{matrix}$

A 4×4 column permutation matrix is defined as

$\lbrack{Pc}\rbrack_{4} = {\begin{bmatrix} 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 1 \\ 0 & 0 & 1 & 0 \end{bmatrix}.}$

By multiplying the column permutation matrix to Equation 7, Equation 8 is obtained.

$\begin{matrix} \begin{matrix} {{{\left\lbrack \Pr \right\rbrack_{4}\lbrack C\rbrack}_{4}\lbrack{Pc}\rbrack}_{4} = {\begin{bmatrix} \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} \\ C_{8}^{2} & C_{8}^{6} & C_{8}^{6} & C_{8}^{2} \\ C_{8}^{1} & C_{8}^{3} & C_{8}^{5} & C_{8}^{7} \\ C_{8}^{3} & C_{8}^{7} & C_{8}^{1} & C_{8}^{5} \end{bmatrix}\begin{bmatrix} 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 1 \\ 0 & 0 & 1 & 0 \end{bmatrix}}} \\ {{==\begin{bmatrix} \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} \\ C_{8}^{2} & {- C_{8}^{2}} & C_{8}^{2} & {- C_{8}^{2}} \\ C_{8}^{1} & C_{8}^{3} & {- C_{8}^{1}} & {- C_{8}^{3}} \\ C_{8}^{3} & {- C_{8}^{1}} & {- C_{8}^{3}} & C_{8}^{1} \end{bmatrix}} = \begin{bmatrix} C_{2} & C_{2} \\ B_{2} & {- B_{2}} \end{bmatrix}} \end{matrix} & (8) \end{matrix}$

corresponds to the 2×2 DCT-II matrix, and

$\begin{matrix} {\lbrack C\rbrack_{2} = \begin{bmatrix} \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} \\ \frac{1}{\sqrt{2}} & {- \frac{1}{\sqrt{2}}} \end{bmatrix}} & \; \\ {\lbrack B\rbrack_{2} = {\begin{bmatrix} C_{8}^{1} & C_{8}^{3} \\ C_{8}^{3} & {- C_{8}^{1}} \end{bmatrix}.}} & \; \end{matrix}$

Hence, Equation 8 can be rewritten as Equation 9.

$\begin{matrix} \begin{matrix} {{{\left\lbrack \Pr \right\rbrack_{4}\lbrack C\rbrack}_{4}\lbrack{Pc}\rbrack}_{4} = \begin{bmatrix} C_{2} & C_{2} \\ B_{2} & {- B_{2}} \end{bmatrix}} \\ {= \left( {\begin{bmatrix} I_{2} & I_{2} \\ I_{2} & {- I_{2}} \end{bmatrix}\begin{bmatrix} C_{2} & 0 \\ 0 & B_{2} \end{bmatrix}} \right)^{T}} \end{matrix} & (9) \end{matrix}$

$\begin{bmatrix} C_{2} & 0 \\ 0 & B_{2} \end{bmatrix}\quad$

is a block inverse matrix, of which the inverse is given by Equation 10.

$\begin{matrix} {\begin{bmatrix} C_{2} & 0 \\ 0 & B_{2} \end{bmatrix}^{- 1} = \begin{bmatrix} \left( C_{2} \right)^{- 1} & 0 \\ 0 & \left( B_{2} \right)^{- 1} \end{bmatrix}} & (10) \end{matrix}$

The Equation 10 is Jacket-like sparse matrix with block inverse.

In general, the DCT-II matrix [C]_(N) can be constructed recursively based on Equation 11.

$\begin{matrix} \begin{matrix} {{{\left\lbrack \Pr \right\rbrack_{N}\lbrack C\rbrack}_{N}\lbrack{Pc}\rbrack}_{N} = \begin{bmatrix} C_{N/2} & C_{N/2} \\ B_{N/2} & {- B_{N/2}} \end{bmatrix}} \\ {= \left( {\begin{bmatrix} I_{N/2} & I_{N/2} \\ I_{N/2} & {- I_{N/2}} \end{bmatrix}\begin{bmatrix} C_{N/2} & 0 \\ 0 & B_{N/2} \end{bmatrix}} \right)^{T}} \end{matrix} & (11) \end{matrix}$

In Equation 11, [C]_(N/2) denotes a

$\frac{N}{2} \times \frac{N}{2}$

DCT-II matrix. [B]_(N/2) can be calculated based on Equation 12.

[B]_(N/2)=└(C_(2N) ^(f(m,n)))_(m,n)┘_(N/2)  (12)

$\begin{matrix} \left\{ {\begin{matrix} {{{f\left( {m,1} \right)} = {{2m} - 1}},} \\ {{{f\left( {m,{n + 1}} \right)} = {{f\left( {m,n} \right)} + {{f\left( {m,1} \right)} \times 2}}},m,{n \in \left\{ {1,2,\ldots \mspace{14mu},{N/2}} \right\}}} \end{matrix}\quad} \right. & (13) \end{matrix}$

The inverse of [Pr]_(N)[C]_(N)[Pc]_(N) is given by Equation 14.

$\begin{matrix} \begin{matrix} {\left( {{\lbrack P\rbrack_{N}\lbrack C\rbrack}_{N}\lbrack{Pc}\rbrack}_{N} \right)^{- 1} = \left( \left( {\begin{bmatrix} I_{N/2} & I_{N/2} \\ I_{N/2} & {- I_{N/2}} \end{bmatrix}\begin{bmatrix} C_{N/2} & 0 \\ 0 & B_{N/2} \end{bmatrix}} \right)^{T} \right)^{- 1}} \\ {= \left( {\begin{bmatrix} \left( C_{N/2} \right)^{- 1} & 0 \\ 0 & \left( B_{N/2} \right)^{- 1} \end{bmatrix}\begin{bmatrix} {\frac{2}{N}I_{N/2}} & {\frac{2}{N}I_{N/2}} \\ {\frac{2}{N}I_{N/2}} & {{- \frac{2}{N}}I_{N/2}} \end{bmatrix}} \right)^{T}} \\ {= {\frac{2}{N}\left( {\begin{bmatrix} \left( C_{N/2} \right)^{- 1} & 0 \\ 0 & \left( B_{N/2} \right)^{- 1} \end{bmatrix}\begin{bmatrix} I_{N/2} & I_{N/2} \\ I_{N/2} & {- I_{N/2}} \end{bmatrix}} \right)^{T}}} \end{matrix} & (14) \end{matrix}$

In Equation 14, the top left block matrix [C]_(N/2) of [C]_(N) has the recursive factorization. By contrast, the bottom right [B]_(N/2) is not recursively factorized.

The present algorithm explains the recursive form and relations using Equation 12 and trigonometric identities. According to Equation 12, an N×N matrix [B]_(N) is defined based on the following trigonometric identities and Equation 14.

$\begin{matrix} {C_{4N}^{{({{2k_{i}} + 1})}\Phi_{m}} = {{2C_{4N}^{2k_{i}\Phi_{m}}C_{4N}^{\Phi_{m}}} - C_{4N}^{{({{2k_{i}} - 1})}\Phi_{m}}}} \\ {= {{- C_{4N}^{{({{2k_{i}} - 1})}\Phi_{m}}} + {2C_{4N}^{2k_{i}\Phi_{m}}C_{4N}^{\Phi_{m}}}}} \end{matrix}$

where mε{0,1,2, . . . }.

Using the trigonometric identities, [B]_(N) is given by Equation 14.

$\begin{matrix} {{\lbrack B\rbrack_{N} = {{\lbrack K\rbrack_{N}\lbrack C\rbrack}_{N}\lbrack D\rbrack}_{N}}{{{{where}\lbrack K\rbrack}_{N} = \begin{bmatrix} \sqrt{2} & 0 & 0 & \ldots \\ {- \sqrt{2}} & 2 & 0 & \ldots \\ \sqrt{2} & {- 2} & 2 & \ldots \\ \vdots & \vdots & \; & \ddots \end{bmatrix}},{\lbrack D\rbrack_{N} = {\begin{bmatrix} C_{4N}^{\Phi_{0}} & 0 & \ldots & 0 \\ 0 & C_{4N}^{\Phi_{1}} & \; & \vdots \\ \vdots & \; & \ddots & 0 \\ 0 & {\ldots\ldots} & 0 & C_{4N}^{\Phi_{N - 1}} \end{bmatrix}.}}}} & (14) \end{matrix}$

The 8×8 DCT-II matrix is given by Equation 15.

$\begin{matrix} {\lbrack C\rbrack_{8} = \left\lbrack \begin{matrix} \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} \\ C_{16}^{1} & C_{16}^{3} & C_{16}^{5} & C_{16}^{7} & C_{16}^{9} & C_{16}^{11} & C_{16}^{13} & C_{16}^{15} \\ C_{16}^{2} & C_{16}^{6} & C_{16}^{10} & C_{16}^{14} & C_{16}^{18} & C_{16}^{22} & C_{16}^{26} & C_{16}^{30} \\ C_{16}^{3} & C_{16}^{9} & C_{16}^{15} & C_{16}^{21} & C_{16}^{27} & C_{16}^{33} & C_{16}^{39} & C_{16}^{45} \\ C_{16}^{4} & C_{16}^{12} & C_{16}^{20} & C_{16}^{28} & C_{16}^{36} & C_{16}^{44} & C_{16}^{52} & C_{16}^{60} \\ C_{16}^{5} & C_{16}^{15} & C_{16}^{25} & C_{16}^{35} & C_{16}^{45} & C_{16}^{55} & C_{16}^{65} & C_{16}^{75} \\ C_{16}^{6} & C_{16}^{18} & C_{16}^{30} & C_{16}^{42} & C_{16}^{54} & C_{16}^{66} & C_{16}^{78} & C_{16}^{90} \\ C_{16}^{7} & C_{16}^{21} & C_{16}^{35} & C_{16}^{49} & C_{16}^{63} & C_{16}^{77} & C_{16}^{91} & C_{16}^{105} \end{matrix} \right\rbrack} & (15) \end{matrix}$

Equation 15 can be represented as Equation 16.

$\begin{matrix} {{{\left\lbrack \Pr \right\rbrack_{8}\lbrack C\rbrack}_{8}\lbrack{Pc}\rbrack}_{8} = {\left\lbrack \overset{\sim}{C} \right\rbrack_{8} = {\quad{\begin{bmatrix} \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} \\ C_{16}^{4} & {- C_{16}^{4}} & C_{16}^{4} & {- C_{16}^{4}} & C_{16}^{4} & {- C_{16}^{4}} & C_{16}^{4} & {- C_{16}^{4}} \\ C_{16}^{2} & C_{16}^{6} & {- C_{16}^{2}} & {- C_{16}^{6}} & C_{16}^{2} & C_{16}^{6} & {- C_{16}^{2}} & {- C_{16}^{6}} \\ C_{16}^{6} & {- C_{16}^{2}} & {- C_{16}^{6}} & C_{16}^{2} & C_{16}^{6} & {- C_{16}^{2}} & {- C_{16}^{6}} & C_{16}^{2} \\ C_{16}^{1} & C_{16}^{3} & {- C_{16}^{7}} & {- C_{16}^{5}} & {- C_{16}^{1}} & {- C_{16}^{3}} & C_{16}^{7} & C_{16}^{5} \\ C_{16}^{5} & {- C_{16}^{1}} & {- C_{16}^{3}} & {- C_{16}^{7}} & {- C_{16}^{5}} & C_{16}^{1} & C_{16}^{3} & C_{16}^{7} \\ C_{16}^{3} & {- C_{16}^{7}} & C_{16}^{5} & C_{16}^{1} & {- C_{16}^{3}} & C_{16}^{7} & {- C_{16}^{5}} & {- C_{16}^{1}} \\ C_{16}^{7} & C_{16}^{5} & C_{16}^{1} & {- C_{16}^{3}} & {- C_{16}^{7}} & C_{16}^{5} & {- C_{16}^{1}} & C_{16}^{3} \end{bmatrix} = {\quad{\begin{bmatrix} C_{4} & C_{4} \\ B_{4} & {- B_{4}} \end{bmatrix} = {\left( {\begin{bmatrix} I_{4} & I_{4} \\ I_{4} & {- I_{4}} \end{bmatrix}\begin{bmatrix} C_{4} & 0 \\ 0 & B_{4} \end{bmatrix}} \right)^{T} = {\begin{bmatrix} C_{4} & 0 \\ 0 & {K_{4}C_{4}D_{4}} \end{bmatrix}{\quad{\begin{bmatrix} I_{4} & I_{4} \\ I_{4} & {- I_{4}} \end{bmatrix} = {{{\begin{bmatrix} I_{4} & 0 \\ 0 & K_{4} \end{bmatrix}\begin{bmatrix} C_{4} & 0 \\ 0 & C_{4} \end{bmatrix}}\begin{bmatrix} I_{4} & 0 \\ 0 & D_{4} \end{bmatrix}}\begin{bmatrix} I_{4} & I_{4} \\ I_{4} & {- I_{4}} \end{bmatrix}}}}}}}}}}}} & (16) \end{matrix}$

By removing all permutation matrices, Equation 16 is written as Equation 17.

$\begin{matrix} {\mspace{79mu} {\lbrack C\rbrack_{8} = {{\left( \left\lbrack {\overset{\sim}{P}\; r} \right\rbrack_{8} \right)^{- 1}\begin{bmatrix} I_{4} & 0 \\ 0 & K_{4} \end{bmatrix}}\mspace{14mu} {{{{\ldots \mspace{14mu}\left\lbrack {I_{4} \otimes \begin{bmatrix} I_{2} & 0 \\ 0 & K_{2} \end{bmatrix}} \right\rbrack}\left\lbrack {I_{4} \otimes C_{2}} \right\rbrack}\left\lbrack {I_{4} \otimes \begin{bmatrix} I_{2} & 0 \\ 0 & D_{2} \end{bmatrix}} \right\rbrack}\left\lbrack {I_{4} \otimes \begin{bmatrix} I_{2} & I_{2} \\ I_{2} & {- I_{2}} \end{bmatrix}} \right\rbrack}\mspace{14mu} {{\ldots \mspace{14mu}\begin{bmatrix} I_{4} & 0 \\ 0 & D_{4} \end{bmatrix}}\begin{bmatrix} I_{4} & I_{4} \\ I_{4} & {- I_{4}} \end{bmatrix}}\left( \left\lbrack {\overset{\sim}{P}c} \right\rbrack_{8} \right)^{- 1}}}} & (17) \end{matrix}$

The DCT-II matrix is represented as stated above.

B. Recursive Factorization of Haar Matrix Via Jacket Matrix

The Haar matrix HT(N) is obtained using a set of Haar functions {har(r,m,t)} defined by Equation 18.

$\begin{matrix} {{{{{har}\left( {0,0,t} \right)} = 1},{t \in \left\lbrack {1,0} \right)}}{{{har}\left( {r,m,t} \right)} = \left\{ \begin{matrix} {2^{r/2},{\frac{m - 1}{2^{r}} \leq t < \frac{m - {1/2}}{2^{r}}}} \\ {{- 2^{r/2}},{\frac{m - 1}{2^{r}} \leq t < \frac{m}{2^{r}}}} \\ {0,{{{elsewhere}\mspace{14mu} {for}\mspace{14mu} t} \in \left\lbrack {0,1} \right)}} \end{matrix} \right.}} & (18) \end{matrix}$

For example, a 2×2 Haar matrix can be given by

$\begin{matrix} {{{HT}(2)} = {\begin{bmatrix} 1 & 1 \\ \sqrt{2} & {- \sqrt{2}} \end{bmatrix} = \left( {\begin{bmatrix} 1 & 1 \\ 1 & {- 1} \end{bmatrix}\begin{bmatrix} 1 & 0 \\ 0 & \sqrt{2} \end{bmatrix}} \right)^{T}}} \\ {= \left( {\lbrack H\rbrack_{2}\lbrack S\rbrack}_{2} \right)^{T}} \end{matrix}$ ${{where}\mspace{14mu}\lbrack S\rbrack}_{2} = {\begin{bmatrix} 1 & 0 \\ 0 & \sqrt{2} \end{bmatrix}.}$

It is Jacket-like sparse matrix.

A 8×8 Haar matrix is given by Equation 19.

$\begin{matrix} {{{HT}( 8)} = \left\lbrack \begin{matrix} 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\ 1 & 1 & 1 & 1 & {- 1} & {- 1} & {- 1} & {- 1} \\ \sqrt{2} & \sqrt{2} & {- \sqrt{2}} & {- \sqrt{2}} & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & \sqrt{2} & \sqrt{2} & {- \sqrt{2}} & {- \sqrt{2}} \\ {- 2} & {- 2} & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 2 & {- 2} & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 2 & {- 2} & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 2 & {- 2} \end{matrix} \right\rbrack} & (19) \end{matrix}$

HT(8) is rearranged to the matrix Har(N) multiplying row and column permutation matrices based on Equation 20.

[Pr] ₈ HT(8)[Pc] ₈=

$\begin{matrix} {{{Har}(8)} = {\begin{bmatrix} 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\ 1 & {- 1} & 1 & {- 1} & 1 & {- 1} & 1 & {- 1} \\ \sqrt{2} & 0 & {- \sqrt{2}} & 0 & \sqrt{2} & 0 & {- \sqrt{2}} & 0 \\ 0 & \sqrt{2} & 0 & {- \sqrt{2}} & 0 & \sqrt{2} & 0 & {- \sqrt{2}} \\ 2 & 0 & 0 & 0 & {- 2} & 0 & 0 & 0 \\ 0 & 2 & 0 & 0 & 0 & {- 2} & 0 & 0 \\ 0 & 0 & 2 & 0 & 0 & 0 & {- 2} & 0 \\ 0 & 0 & 0 & 2 & 0 & 0 & 0 & {- 2} \end{bmatrix} = {\quad{{\left\lbrack \begin{matrix} {{Har}(4)} & {{Har}(4)} \\ {2I_{4}} & {{- 2}I_{4}} \end{matrix} \right\rbrack \mspace{20mu} {{where}\mspace{14mu}\left\lbrack \Pr \right\rbrack}_{8}} = {\begin{bmatrix} 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 0 & 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 \end{bmatrix}\mspace{14mu} {and}}}}}} & (20) \\ {\mspace{79mu} {\lbrack{Pc}\rbrack_{8} = {\begin{bmatrix} 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 \\ 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 1 & 0 \\ 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 \end{bmatrix}.}}} & \; \end{matrix}$

Equation 20 can be decomposed to Equation 21.

$\begin{matrix} \begin{matrix} {{{Har}(8)} = \begin{bmatrix} {{Har}(4)} & {{Har}(4)} \\ {2I_{4}} & {{- 2}I_{4}} \end{bmatrix}} \\ {= \left( {\begin{bmatrix} H_{4} & H_{4} \\ H_{4`} & {- H_{4}} \end{bmatrix}\begin{bmatrix} S_{4} & 0 \\ 0 & {2\left( \frac{H_{4}}{4} \right)} \end{bmatrix}} \right)^{T}} \end{matrix} & (21) \end{matrix}$

In Equation 21, Har(4)=H₄S₄, H₄ denotes the Hadamard matrix, and [S]₄ is given by Equation 22.

$\begin{matrix} {{\lbrack S\rbrack_{4} = {\begin{bmatrix} 1 & 0 & 0 & 0 \\ 0 & \sqrt{2} & 0 & 0 \\ 0 & 0 & 1 & 1 \\ 0 & 0 & 1 & {- 1} \end{bmatrix} = \begin{bmatrix} S_{2} & 0 \\ 0 & H_{2} \end{bmatrix}}}{{{where}\mspace{14mu}\lbrack S\rbrack}_{2} = {\begin{bmatrix} 1 & 0 \\ 0 & \sqrt{2} \end{bmatrix}.}}} & (22) \end{matrix}$

The inverse of Equation 21 is the block inverse as expressed in Equation 23.

$\begin{matrix} {\left( \lbrack S\rbrack_{4} \right)^{- 1} = {\begin{bmatrix} 1 & 0 & 0 & 0 \\ 0 & {1/\sqrt{2}} & 0 & 0 \\ 0 & 0 & {1/2} & {1/2} \\ 0 & 0 & {1/2} & {{- 1}/2} \end{bmatrix} = \begin{bmatrix} \left( S_{2} \right)^{- 1} & 0 \\ 0 & \left( H_{2} \right)^{- 1} \end{bmatrix}}} & (23) \end{matrix}$

In general, HT(N) is obtained based on Equation 24.

$\begin{matrix} {{\left\lbrack \Pr \right\rbrack_{N}{{{HT}(N)}\lbrack{Pc}\rbrack}_{N}} = {{{Har}(N)} = {\begin{bmatrix} {{Har}\left( {N/2} \right)} & {{Har}\left( {N/2} \right)} \\ 2^{{({{\log_{2}{(N)}} - 1})}/2} & {{- 2^{{({{\log_{2}{(N)}} - 1})}/2}}I_{N/2}} \end{bmatrix} = {\left( {\begin{bmatrix} H_{N/2} & H_{N/2} \\ H_{N/2} & {- H_{N/2}} \end{bmatrix}\begin{bmatrix} S_{N/2} & 0 \\ 0 & {2\left( \frac{H_{N/2}}{N/2} \right)} \end{bmatrix}} \right)^{T} = \left( {{\begin{bmatrix} H_{N/2} & 0 \\ 0 & H_{N/2} \end{bmatrix}\begin{bmatrix} I_{N/2} & I_{N/2} \\ I_{N/2} & {- I_{N/2}} \end{bmatrix}}\begin{bmatrix} S_{N/2} & 0 \\ 0 & {2\left( \frac{H_{N/2}}{N/2} \right)} \end{bmatrix}} \right)^{T}}}}} & (24) \end{matrix}$

The inverse of HT(N) is given by Equation 25.

$\begin{matrix} \begin{matrix} {{{Har}(N)}^{- 1} = \left( \left( {\begin{bmatrix} H_{N/2} & H_{N/2} \\ H_{N/2} & {- H_{N/2}} \end{bmatrix}\begin{bmatrix} S_{N/2} & 0 \\ 0 & {2\left( \frac{H_{N/2}}{N/2} \right)} \end{bmatrix}} \right)^{T} \right)} \\ {= \left( {{\frac{1}{N}\begin{bmatrix} \left( S_{N/2} \right)^{- 1} & 0 \\ 0 & \left( {2\left( \frac{H_{N/2}}{N/2} \right)} \right)^{- 1} \end{bmatrix}}\begin{bmatrix} H_{N/2} & H_{N/2} \\ H_{N/2} & {- H_{N/2}} \end{bmatrix}} \right)^{T}} \end{matrix} & (25) \end{matrix}$

As above, the Haar matrix can be decomposed to the recursive factorization.

C. Recursive Factorization of Haar Matrix Via Jacket Matrix

When S(N) denotes the N×N slant matrix, the lowest-order slant matrix is given by Equation 26.

$\begin{matrix} {{S(2)} = {\frac{1}{\sqrt{2}}\begin{bmatrix} 1 & 1 \\ 1 & {- 1} \end{bmatrix}}} & (26) \end{matrix}$

The slant matrix for N=4 is given by Equation 27.

$\begin{matrix} {{{S(4)} = {{\frac{1}{\sqrt{4}}\begin{bmatrix} 1 & 1 & 1 & 1 \\ {a + b} & {a - b} & {{- a} + b} & {{- a} - b} \\ 1 & {- 1} & {- 1} & 1 \\ {a - b} & {{- a} - b} & {a + b} & {{- a} + b} \end{bmatrix}}\mspace{14mu} {where}}}{{a = \frac{2}{\sqrt{5}}},\mspace{14mu} {b = {\frac{1}{\sqrt{5}}.}}}} & (27) \end{matrix}$

By multiplying Equation 27 by a row permutation matrix [P_(r)]₄ and a column permutation matrix [P_(c)]₄, Equation 28 is yielded.

$\begin{matrix} {{\left\lbrack P_{r} \right\rbrack_{4}{{S(4)}\left\lbrack P_{c} \right\rbrack}_{4}} = {{{\frac{1}{\sqrt{4}}\begin{bmatrix} 1 & 0 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 1 \end{bmatrix}}\begin{bmatrix} 1 & 1 & 1 & 1 \\ {a + b} & {a - b} & {{- a} + b} & {{- a} - b} \\ 1 & {- 1} & {- 1} & 1 \\ {a - b} & {{- a} - b} & {a + b} & {{- a} + b} \end{bmatrix}}{\quad{\begin{bmatrix} 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 1 \\ 0 & 0 & 1 & 0 \end{bmatrix} = {{\frac{1}{\sqrt{4}}\begin{bmatrix} 1 & 1 & 1 & 1 \\ 1 & {- 1} & 1 & {- 1} \\ {a + b} & {a - b} & {- \left( {a + b} \right)} & {- \left( {a - b} \right)} \\ {a - b} & {- \left( {a + b} \right)} & {- \left( {a - b} \right)} & {a + b} \end{bmatrix}} = {{{\frac{1}{\sqrt{4}}\begin{bmatrix} H_{2} & H_{2} \\ A_{2} & {- A_{2}} \end{bmatrix}}\mspace{14mu} {{where}\mspace{20mu}\lbrack A\rbrack}_{2}} = {\begin{bmatrix} {a + b} & {a - b} \\ {a - b} & {- \left( {a + b} \right)} \end{bmatrix} = {{\frac{1}{\sqrt{5}}\begin{bmatrix} 3 & 1 \\ 1 & {- 3} \end{bmatrix}} = {{\frac{1}{\sqrt{5}}\begin{bmatrix} a_{1} & 1 \\ 1 & {- a_{1}} \end{bmatrix}}.}}}}}}}}} & (28) \end{matrix}$

Hence, Equation 27 can be rewritten as Equation 29.

$\begin{matrix} \begin{matrix} {{\left\lbrack \Pr \right\rbrack_{4}{{S(4)}\lbrack{Pc}\rbrack}_{4}} = {\frac{1}{\sqrt{4}}\begin{bmatrix} H_{2} & H_{2} \\ A_{2} & {- A_{2}} \end{bmatrix}}} \\ {= {\frac{1}{\sqrt{4}}\left( {\begin{bmatrix} H_{2} & 0_{2} \\ 0_{2} & A_{2} \end{bmatrix}\begin{bmatrix} I_{2} & I_{2} \\ I_{2} & {- I_{2}} \end{bmatrix}} \right)}} \end{matrix} & (29) \end{matrix}$

Herein, the inverse of the sparse matrix

$\quad\begin{bmatrix} H_{2} & 0 \\ 0 & A_{2} \end{bmatrix}$

is the block inverse. Thus, the inverse of Equation 29 is given by Equation 30.

$\begin{matrix} {\left( {\left\lbrack P_{r} \right\rbrack_{4}{{S(4)}\lbrack{Pc}\rbrack}_{4}} \right)^{- 1} = \left( {\begin{bmatrix} \left( H_{2} \right)^{- 1} & 0 \\ 0 & \left( A_{2} \right)^{- 1} \end{bmatrix}\begin{bmatrix} I_{2} & I_{2} \\ I_{2} & {- I_{2}} \end{bmatrix}} \right)^{T}} & (30) \end{matrix}$

Similarly, the higher-order Slant matrix can be derived from the lower-order Slant matrix and the sparse matrix. An N-order Slant matrix can be obtained based on

${S(N)} = {{\frac{1}{\sqrt{2}}\begin{bmatrix} 1 & 0 & 0 & 0 & 1 & 0 & 0 & 0 \\ a_{N} & b_{N} & 0 & 0 & {- a_{N}} & b_{N} & 0 & 0 \\ 0 & 0 & I_{\frac{({N - 4})}{4}} & 0 & 0 & 0 & I_{\frac{({N - 4})}{4}} & 0 \\ 0 & 0 & 0 & I_{\frac{({N - 4})}{4}} & 0 & 0 & 0 & I_{\frac{({N - 4})}{4}} \\ 0 & 1 & 0 & 0 & 0 & {- 1} & 0 & 0 \\ {- b_{N}} & a_{N} & 0 & 0 & b_{N} & a_{N} & 0 & 0 \\ 0 & 0 & I_{\frac{({N - 4})}{4}} & 0 & 0 & 0 & {- I_{\frac{({N - 4})}{4}}} & 0 \\ 0 & 0 & 0 & I_{\frac{({N - 4})}{4}} & 0 & 0 & 0 & {- I_{\frac{({N - 4})}{4}}} \end{bmatrix}}\left( {\lbrack I\rbrack_{2} \otimes {S\left( {N/2} \right)}} \right)\mspace{14mu} {where}}$ $\mspace{20mu} {{a_{2} = 1},\mspace{14mu} {b_{N} = \frac{1}{\left( {1 + {4\left( a_{N/2} \right)^{2}}} \right)^{1/2}}},{{{and}\mspace{14mu} a_{N}} = {2b_{N}{a_{N/2}.}}}}$

For example, the 8×8 Slant matrix is given by Equation 31.

$\begin{matrix} {{S(8)} = {\frac{1}{\sqrt{8}}{\quad\begin{bmatrix} 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\ {7/\sqrt{21}} & {5/\sqrt{21}} & {3/\sqrt{21}} & {1/\sqrt{21}} & {{- 1}/\sqrt{21}} & {{- 3}/\sqrt{21}} & {{- 5}/\sqrt{21}} & {{- 7}/\sqrt{21}} \\ 1 & {- 1} & {- 1} & 1 & 1 & {- 1} & {- 1} & 1 \\ {1/\sqrt{5}} & {{- 3}/\sqrt{5}} & {3/\sqrt{5}} & {{- 1}/\sqrt{5}} & {1/\sqrt{5}} & {{- 3}/\sqrt{5}} & {3/\sqrt{5}} & {{- 1}/\sqrt{5}} \\ {3/\sqrt{5}} & {1/\sqrt{5}} & {{- 1}/\sqrt{5}} & {{- 3}/\sqrt{5}} & {{- 3}/\sqrt{5}} & {{- 1}/\sqrt{5}} & {1/\sqrt{5}} & {3/\sqrt{5}} \\ {7/\sqrt{105}} & {{- 1}/\sqrt{105}} & {{- 9}/\sqrt{105}} & {{- 17}/\sqrt{105}} & {17/\sqrt{105}} & {9/\sqrt{105}} & {1/\sqrt{105}} & {{- 7}/\sqrt{105}} \\ 1 & {- 1} & {- 1} & 1 & {- 1} & 1 & 1 & {- 1} \\ {1/\sqrt{5}} & {{- 3}/\sqrt{5}} & {3/\sqrt{5}} & {{- 1}/\sqrt{5}} & {{- 1}/\sqrt{5}} & {3/\sqrt{5}} & {{- 3}/\sqrt{5}} & {1/\sqrt{5}} \end{bmatrix}}}} & (31) \end{matrix}$

By multiplying the following row permutation matrix and column permutation matrix, Equation 32 is obtained.

$\begin{matrix} {{{\left\lbrack \Pr \right\rbrack_{8} = \begin{bmatrix} 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 \\ 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 \\ 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 \end{bmatrix}},\mspace{14mu} {\lbrack{Pc}\rbrack_{8} = {{{\begin{bmatrix} 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 \\ 0 & 0 & 0 & 0 & 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 0 & 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 \end{bmatrix}\left\lbrack \Pr_{8} \right\rbrack}{{S(8)}\lbrack{Pc}\rbrack}_{8}} = {{\overset{\sim}{S}(8)}\mspace{14mu} {where}}}}}{{\overset{\sim}{S}(8)} = {\frac{1}{\sqrt{8}}{\quad{\left\lbrack {1\begin{matrix} 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\ {3/\sqrt{5}} & {1/\sqrt{5}} & {{- 1}/\sqrt{5}} & {{- 3}/\sqrt{5}} & {3/\sqrt{5}} & {1/\sqrt{5}} & {{- 1}/\sqrt{5}} & {{- 3}/\sqrt{5}} \\ 1 & {- 1} & 1 & 1 & 1 & {- 1} & {- 1} & 1 \\ {1/\sqrt{5}} & {{- 3}/\sqrt{5}} & {3/\sqrt{5}} & {{- 1}/\sqrt{5}} & {1/\sqrt{5}} & {{- 3}/\sqrt{5}} & {3/\sqrt{5}} & {{- 1}/\sqrt{5}} \\ {7/\sqrt{21}} & {5/\sqrt{21}} & {3/\sqrt{21}} & {1/\sqrt{21}} & {{- 1}/\sqrt{21}} & {{- 3}/\sqrt{21}} & {{- 5}/\sqrt{21}} & {{- 7}/\sqrt{21}} \\ {7/\sqrt{105}} & {{- 1}/\sqrt{105}} & {{- 9}/\sqrt{105}} & {{- 17}/\sqrt{105}} & {{- 7}/\sqrt{105}} & {1/\sqrt{105}} & {9/\sqrt{105}} & {17/\sqrt{105}} \\ 1 & {- 1} & {- 1} & 1 & {- 1} & 1 & 1 & {- 1} \\ {1/\sqrt{5}} & {{- 3}/\sqrt{5}} & {3/\sqrt{5}} & {{- 1}/\sqrt{5}} & {{- 1}/\sqrt{5}} & {3/\sqrt{5}} & {{- 3}/\sqrt{5}} & {1/\sqrt{5}} \end{matrix}} \right\rbrack.}}}}} & (32) \end{matrix}$

[Pr]₈S(8)[Pc]₈ can be simplified to the following equation.

${\left\lbrack \Pr \right\rbrack_{8}{{S(8)}\lbrack{Pc}\rbrack}_{8}} = {{\frac{1}{\sqrt{8}}\begin{bmatrix} H_{4} & H_{4} \\ A_{4} & {- A_{4}} \end{bmatrix}} = {\frac{1}{\sqrt{8}}\left( {\begin{bmatrix} H_{4} & 0_{4} \\ 0_{4} & A_{4} \end{bmatrix}\begin{bmatrix} I_{4} & I_{4} \\ I_{4} & {- I_{4}} \end{bmatrix}} \right)}}$

The inverse of the sparse matrix

$\quad\begin{bmatrix} H_{4} & 0 \\ 0 & A_{4} \end{bmatrix}$

is the block inverse. H₄ satisfies

${H_{4} = {{S(4)} \times \sqrt{4}}},\mspace{14mu} {A_{4} = {{\begin{bmatrix} Q_{2} & 0 \\ 0 & I_{2} \end{bmatrix}{S(4)} \times \sqrt{4}} = {R_{4}{S(4)}}}},{where}$ $Q_{2} = {\begin{bmatrix} q_{2} & q_{2} \\ {- q_{2}} & q_{1} \end{bmatrix} = {\begin{bmatrix} {4{\sqrt{5}/\sqrt{105}}} & \sqrt{5/21} \\ {- \sqrt{5/21}} & {4{\sqrt{5}/\sqrt{105}}} \end{bmatrix}.}}$

By removing the permutation matrices on both sides, S(8) is given by Equation 33.

$\begin{matrix} {{S(8)} = {{{{{\frac{1}{\sqrt{8}}\left\lbrack P_{r} \right\rbrack}_{8}^{- 1}\begin{bmatrix} I_{4} & 0 \\ 0 & R_{4} \end{bmatrix}}\begin{bmatrix} H_{4} & 0 \\ 0 & {S(4)} \end{bmatrix}}\begin{bmatrix} I_{4} & I_{4} \\ I_{4} & {- I_{4}} \end{bmatrix}}\left\lbrack P_{c} \right\rbrack}_{8}^{- 1}} & (33) \end{matrix}$

The inverse of [Pr]₈ S(8)[Pc]₈ is given by Equation 34.

$\begin{matrix} {\mspace{20mu} {{\left( {\left\lbrack P_{r} \right\rbrack_{8}{{S(8)}\left\lbrack P_{c} \right\rbrack}_{8}} \right)^{- 1} = {\sqrt{8}\left( {\begin{bmatrix} \left( H_{4} \right)^{- 1} & 0 \\ 0 & \left( A_{4} \right)^{- 1} \end{bmatrix}\begin{bmatrix} I_{4} & I_{4} \\ I_{4} & {- I_{4}} \end{bmatrix}} \right)^{T}}}\mspace{20mu} {{{{where}\left\lbrack \Pr \right\rbrack}_{4}{H_{3}\lbrack{Pc}\rbrack}_{4}} = {{\frac{1}{\sqrt{4}}\begin{bmatrix} H_{2} & H_{2} \\ A_{2} & {- A_{2}} \end{bmatrix}} = {\left( \left( {\frac{1}{\sqrt{4}}\left( {\begin{bmatrix} H_{2} & 0 \\ 0 & A_{2} \end{bmatrix}\begin{bmatrix} I_{2} & I_{2} \\ I_{2} & {- I_{2}} \end{bmatrix}} \right)} \right) \right).}}}}} & (34) \end{matrix}$

The recursive basis in Equation 34 can be derived from S(N).

In general, Equation 35 is obtained.

$\begin{matrix} \begin{matrix} {{\left\lbrack \Pr \right\rbrack_{N}{{S(N)}\lbrack{Pc}\rbrack}_{N}} = {\frac{1}{\sqrt{N}}\begin{bmatrix} H_{N/2} & H_{N/2} \\ A_{N/2} & {- A_{N/2}} \end{bmatrix}}} \\ {= {\frac{1}{\sqrt{N}}\left( {\begin{bmatrix} I_{N/2} & I_{N/2} \\ I_{N/2} & {- I_{N/2}} \end{bmatrix}\begin{bmatrix} H_{N/2} & 0_{4} \\ 0_{4} & A_{N/2} \end{bmatrix}} \right)^{T}}} \end{matrix} & (35) \end{matrix}$

Its inverse is given by Equation 36.

$\begin{matrix} {{\left( {\left\lbrack P_{r} \right\rbrack_{N}{{S(N)}\left\lbrack P_{c} \right\rbrack}_{N}} \right)^{- 1} = {\sqrt{N}\left( {\begin{bmatrix} \left( H_{N/2} \right)^{- 1} & 0 \\ 0 & \left( A_{N/2} \right)^{- 1} \end{bmatrix}\begin{bmatrix} I_{N/2} & I_{N/2} \\ I_{N/2} & {- I_{N/2}} \end{bmatrix}} \right)^{T}}}\mspace{20mu} {{{{where}\mspace{14mu} H_{N/2}} = {{S\left( {N/2} \right)} \times \sqrt{N/2}}},\mspace{20mu} {A_{N/2} = {\begin{bmatrix} Q_{N/4} & 0 \\ 0 & I_{N/4} \end{bmatrix}{S\left( {N/2} \right)} \times \sqrt{N/2}}}}} & (36) \end{matrix}$

As such, the Slant matrix S(N) can be decomposed to the recursive factorization.

As stated above, all of the DCT-II matrix [C]_(N), the Haar matrix HT(N), and the slant matrix S(N) are decomposed to the multiplication of

$\quad\begin{bmatrix} I_{N/2} & I_{N/2} \\ I_{N/2} & {- I_{N/2}} \end{bmatrix}$

and the sparse matrix as expressed in Equation 11, Equation 24, and Equation 35.

When a circuit is designed using the equations of the decomposed DCT-II matrix, Haar matrix, and Slant matrix, a hybrid circuit allowing all of the DCT-II, the Haar transform, and the Slant transform can be designed.

When the DCT-II, the Haar transform, and the Slant transform are conducted based on Equation 11, Equation 24, and Equation 35, computational complexity is summarized in the following table.

Transform Complexity DCT-II Real additions: Nlog₂ ^(N) Multiplication: 2Nlog₂ ^(N/2) HT ${{Real}\mspace{14mu} {additions}\text{:}\mspace{14mu} N\; \log_{2}^{N}} + {\frac{N}{2}\log_{2}^{N/2}}$ ${Multiplication}\text{:}\mspace{11mu} \frac{N}{2}\log_{2}^{N/4}$ Slant Real additions: Nlog₂ ^(N) Multiplication: 2log₂ ^(N)

3. Structure of Hybrid Signal Processing Device

Now, a hybrid signal processing device 100 is explained by referring to FIG. 1. FIG. 1 is a block diagram of the hybrid signal processing device 100 capable of processing all of the DCT-II, the Haar transform, and the Slant transform according to an exemplary embodiment of the present invention.

As shown in FIG. 1, the hybrid signal processing device 100 includes a row permutation matrix calculator 110, a switch part 120, a DCT-II matrix calculator 130, a Haar matrix calculator 140, a Slant matrix calculator 150, a butterfly structure calculator 160, and a column permutation matrix calculator 170.

The row permutation matrix calculator 110, the DCT-II matrix calculator 130, the Haar matrix calculator 140, the Slant matrix calculator 150, the butterfly structure calculator 160, and the column permutation matrix calculator 170 constitute a matrix calculator. That is, the matrix calculator conducts the matrix operation selected by the switch part 120 among the DCT matrix operation, the Haar matrix operation, and the Slant matrix operation, on the input signal. The matrix calculator includes a single butterfly structure shared and used by the DCT-II matrix operation, the Haar matrix operation, and the Slant matrix operation. Hereafter, the matrix calculator is explained in more detail by referring to FIG. 1.

The row permutation matrix calculator 110 performs the row permutation matrix operation on the input signal, and sends the operated signal to the switch part 120. That is, the row permutation matrix calculator 110 calculates the matrix [Pr]_(N) in the above-mentioned equations.

The switch part 120 outputs the signal by selecting one of the DCT matrix operation, the Haar matrix operation, and the Slant matrix operation. In other words, the switch part 120 is connected to one of the DCT matrix calculator 130, the Haar matrix calculator 140, and the Slant matrix calculator 150.

According to a switch control signal input from outside, the switch part 120 selects the unit to connect among the DCT matrix calculator 130, the Haar matrix calculator 140, and the Slant matrix calculator 150. The switch control signal is a control signal for selecting any one of the DCT matrix operation, the Haar matrix operation, and the Slant matrix operation, and may be determined by a command input by a user.

As such, the signal processing device 100 including the switch part 120 can select and process any one of the DCT matrix operation, the Haar matrix operation, and the Slant matrix operation.

The DCT-II matrix calculator 130 conducts the DCT-II matrix operation on the signal output from the switch part 120. That is, the DCT-II matrix calculator 130 performs the matrix operation on the matrix [C]_(N) in the following equations, which correspond to Equations 11, 12 and 13.

$\begin{matrix} \begin{matrix} {{{\left\lbrack \Pr \right\rbrack_{N}\lbrack C\rbrack}_{N}\lbrack{Pc}\rbrack}_{N} = \begin{bmatrix} C_{N/2} & C_{N/2} \\ B_{N/2} & {- B_{N/2}} \end{bmatrix}} \\ {= \left( {\begin{bmatrix} I_{N/2} & I_{N/2} \\ I_{N/2} & {- I_{N/2}} \end{bmatrix}\begin{bmatrix} C_{N/2} & 0 \\ 0 & B_{N/2} \end{bmatrix}} \right)^{T}} \end{matrix} & (11) \end{matrix}$

In Equation 11, [C]_(N/2) denotes the

$\frac{N}{2} \times \frac{N}{2}$

DCT-II matrix. [B]_(N/2) can be calculated based on Equation 12.

[B]_(N/2)=└(C_(2N) ^(f(m,n)))_(m,n)┘_(N/2)  (12)

$\quad\begin{matrix} \left\{ \begin{matrix} {{f\left( {m,1} \right)} = {{2m} - 1}} \\ {{{f\left( {m,{n + 1}} \right)} = {{f\left( {m,n} \right)} + {{f\left( {m,1} \right)} \times}}},\mspace{14mu} m,{n \in \left\{ {1,2,\ldots \mspace{14mu},{N/2}} \right\}}} \end{matrix} \right. & (13) \end{matrix}$

As such, the DCT-II matrix calculator 130, which includes the circuit corresponding to Equation, carries out the signal processing corresponding to the equation.

The Haar matrix calculator 140 conducts the Haar matrix operation on the signal output from the switch part 120. That is, the Haar matrix calculator 140 applies the matrix operation to the matrix HT(N) in Equation 24.

$\begin{matrix} {{\left\lbrack \Pr \right\rbrack_{N}{{{HT}(N)}\lbrack{Pc}\rbrack}_{N}} = {{{Har}(N)} = {\begin{bmatrix} {{Har}\left( {N/2} \right)} & {{Har}\left( {N/2} \right)} \\ {2^{{({{\log_{2}{(N)}} - 1})}/2}I_{N/2}} & {{- 2^{{({{\log_{2}{(N)}} - 1})}/2}}I_{N/2}} \end{bmatrix} = {\left( {\begin{bmatrix} H_{N/2} & H_{N/2} \\ H_{N/2} & {- H_{N/2}} \end{bmatrix}\begin{bmatrix} S_{N/2} & 0 \\ 0 & {2\left( \frac{H_{N/2}}{N/2} \right)} \end{bmatrix}} \right)^{T} = \left( {{\begin{bmatrix} H_{N/2} & 0 \\ 0 & H_{N/2} \end{bmatrix}\begin{bmatrix} I_{N/2} & I_{N/2} \\ I_{N/2} & {- I_{N/2}} \end{bmatrix}}\begin{bmatrix} S_{N/2} & 0 \\ 0 & {2\left( \frac{H_{N/2}}{N/2} \right)} \end{bmatrix}} \right)^{T}}}}} & (24) \end{matrix}$

The Haar matrix calculator 140, which includes the circuit corresponding to Equation 24, carries out the signal processing corresponding to Equation 24.

The Slant matrix calculator 150 conducts the Slant matrix operation on the signal output from the switch part 120. That is, the Slant matrix calculator 150 applies the matrix operation to the matrix S(N) in Equation 35.

$\begin{matrix} \begin{matrix} {{\left\lbrack \Pr \right\rbrack_{N}{{S(N)}\lbrack{Pc}\rbrack}_{N}} = {\frac{1}{\sqrt{N}}\begin{bmatrix} H_{N/2} & H_{N/2} \\ A_{N/2} & {- A_{N/2}} \end{bmatrix}}} \\ {= {\frac{1}{\sqrt{N}}\left( {\begin{bmatrix} I_{N/2} & I_{N/2} \\ I_{N/2} & {- I_{N/2}} \end{bmatrix}\begin{bmatrix} H_{N/2} & 0_{4} \\ 0_{4} & A_{N/2} \end{bmatrix}} \right)^{T}}} \end{matrix} & (35) \end{matrix}$

The Slant matrix calculator 150, which includes the circuit corresponding to Equation 35, carries out the signal processing corresponding to Equation 35.

The butterfly structure calculator 160 performs the butterfly structure operation on the signal output from any one of the DCT matrix calculator 130, the Haar matrix calculator 140, and the Slant matrix calculator 150. The butterfly structure calculator 160 includes the structure shared by all of the DCT matrix operation, the Haar matrix operation, and the Slant matrix operation. For example, the butterfly structure calculator 160 includes the butterfly structure to calculate

$\quad\begin{bmatrix} I_{N/2} & I_{N/2} \\ I_{N/2} & {- I_{N/2}} \end{bmatrix}$

in all of the DCT matrix operation, the Haar matrix operation, and the Slant matrix operation.

The column permutation matrix calculator 170 applies the column permutation matrix operation to the signal output from the butterfly structure calculator 170. That is, the column permutation matrix calculator 170 calculates the matrix [Pc]_(N) in the above equations.

By means of the hybrid architecture, the signal processing device 100 performs the DCT-II matrix operation, the Haar matrix operation, and the Slant matrix operation using the common butterfly structure. Thus, the signal processing device 100 can selectively carry out the DCT-II matrix operation, the Haar matrix operation, and the Slant matrix operation with respect to the input signal.

When the signal processing device is implemented with a single chip, it is possible to implement the single circuit chip for selectively processing the DCT-II matrix operation, the Haar matrix operation, and the Slant matrix operation.

By referring to FIGS. 2, 3 and 4, butterfly data flow diagrams for the 8×8 DCT-II, matrix, Haar matrix, and Slant matrix are illustrated.

FIG. 2 is a butterfly data flow diagram of the 8×8 DCT-II matrix according to an exemplary embodiment of the present invention. FIG. 3 is a butterfly data flow diagram of the 8×8 Haar matrix according to an exemplary embodiment of the present invention. FIG. 4 is a butterfly data flow diagram of the 8×8 Slant matrix according to an exemplary embodiment of the present invention.

In the butterfly data flow diagrams for the three matrices in FIGS. 2, 3 and 4, the part corresponding to the row permutation matrix calculator 110, the butterfly structure calculator 160, and the column permutation matrix calculator 170 is common. Only the parts corresponding to the DCT matrix calculator 130, the Haar matrix calculator 140, and the Slant matrix calculator 150 are different from each other.

As the circuit includes only one command part and selects the different pats of the DCT matrix calculator 130, the Haar matrix calculator 140, and the Slant matrix calculator 150 using the switch part 120, the hybrid signal processing device capable of selectively calculating the DCT-II matrix, the Haar matrix, and the Slant matrix can be designed.

By selectively processing the DCT-II, the Haar transform, and the Slant transform with the signal processing device 100, an image processing device for encoding image signals can be fabricated.

Note that the signal processing device is applicable to any signal processing device adopting the DCT-II, the Haar transform, and the Slant transform besides the image processing device.

The signal processing method for the DCT-II, the Haar transform, and the Slant transform based on the above-described equations can be recorded to a computer-readable recording medium which is realized with program commands executable through various computer means. The computer-readable recording medium can contain program commands, data files, and data structures alone or in combination. Meanwhile, the program commands recorded to the recording medium can be specifically designed or constructed for exemplary embodiments of the present invention, or well-known to those skilled in computer software.

The computer-readable recording medium includes magnetic media such as hard disk, floppy disk, and magnetic tape, optical recording media such as CD and DVD, magneto-optical media such as floptical disk, and hardware devices containing and executing program commands, such as ROM, RAM, and flash memory. The recording medium can be a transmission medium, such as optical or metallic line and waveguide, including subcarriers which carry signals to define program commands and data structure.

The program commands include a machine language created by a compiler and a high-level language executable by the computer using an interpreter. The hardware device can function as one or more software module for the present invention, and vice versa.

In light of the foregoing as set forth above, the signal processing device includes the matrix calculator for processing the matrix operation selected by the switch part from the DCT matrix operation, the Haar matrix operation, and the Slant matrix operation, with respect to the input signal, and the image processing device adopts the signal processing device. Therefore, the signal processing device can be implemented in the hybrid architecture capable of selectively carrying out the DCT-II, the Haar transform, and the Slant transform with the single chip.

Although the present disclosure has been described with an exemplary embodiment, various changes and modifications may be suggested to one skilled in the art. It is intended that the present disclosure encompass such changes and modifications as fall within the scope of the appended claims. 

1. A signal processing device comprising: a switch part for selecting any one of a Discrete Cosine Transformation (DCT) matrix operation, a Haar matrix operation, and a Slant matrix operation; and a matrix calculator for performing a matrix operation selected by the switch part among the DCT matrix operation, the Haar matrix operation, and the Slant matrix operation, with respect to an input signal.
 2. The signal processing device of claim 1, wherein the matrix calculator comprises one butterfly structure shared and used in the DCT-II matrix operation, the Haar matrix operation, and the Slant matrix operation.
 3. The signal processing device of claim 1, wherein the matrix calculator comprises: a row permutation matrix calculator for processing a row permutation matrix operation for the input signal and sending the operated signal to the switch part; a DCT-II matrix calculator for processing the DCT-II matrix operation for the signal output from the switch part; a Haar matrix calculator for processing the Haar matrix operation for the signal output from the switch part; a Slant matrix calculator for processing the Slant matrix operation for the signal output from the switch part; a butterfly structure calculator for processing a butterfly structure operation for a signal output from one of the DCT-II matrix calculator, the Haar matrix calculator, and the Slant matrix calculator; and a column permutation matrix calculator for processing a column permutation matrix operation for a signal output from the butterfly structure calculator.
 4. The signal processing device of claim 3, wherein the switch part outputs the signal input from the row permutation matrix calculator to any one of the DCT-II matrix calculator, the Haar matrix calculator, and the Slant matrix calculator.
 5. The signal processing device of claim 3, wherein the DCT-II matrix calculator performs the matrix operation for a matrix [C]_(N) in the following equation: $\begin{matrix} {{{\left\lbrack \Pr \right\rbrack_{N}\lbrack C\rbrack}_{N}\lbrack{Pc}\rbrack}_{N} = \begin{bmatrix} C_{N/2} & C_{N/2} \\ B_{N/2} & {- B_{N/2}} \end{bmatrix}} \\ {= \left( {\begin{bmatrix} I_{N/2} & I_{N/2} \\ I_{N/2} & {- I_{N/2}} \end{bmatrix}\begin{bmatrix} C_{N/2} & 0 \\ 0 & B_{N/2} \end{bmatrix}} \right)^{T}} \end{matrix}$ where [C]_(N/2) denotes a $\frac{N}{2} \times \frac{N}{2}$ DCT-II matrix, [B]_(N/2)=[(C_(2N) ^(f(m,n)))_(m,n)]_(N/2), and $\quad\left\{ \begin{matrix} {{{f\left( {m,1} \right)} = {{2m} - 1}},} \\ {{{f\left( {m,{n + 1}} \right)} = {{f\left( {m,n} \right)} + {{f\left( {m,1} \right)} \times 2}}},\mspace{14mu} m,{n \in {\left\{ {1,2,\ldots \mspace{14mu},{N/2}} \right\}.}}} \end{matrix} \right.$
 6. The signal processing device of claim 3, wherein the Haar matrix calculator performs the matrix operation for a matrix HT(N) in the following equation: ${\left\lbrack \Pr \right\rbrack_{N}{{{HT}(N)}\lbrack{Pc}\rbrack}_{N}} = {{{Har}(N)} = {\begin{bmatrix} {{Har}\left( {N/2} \right)} & {{Har}\left( {N/2} \right)} \\ {2^{{({{\log_{2}{(N)}} - 1})}/2}I_{N/2}} & {{- 2^{{({{\log_{2}{(N)}} - 1})}/2}}I_{N/2}} \end{bmatrix} = {\left( {\begin{bmatrix} H_{N/2} & H_{N/2} \\ H_{N/2} & {- H_{N/2}} \end{bmatrix}\begin{bmatrix} S_{N/2} & 0 \\ 0 & {2\left( \frac{H_{N/2}}{N/2} \right)} \end{bmatrix}} \right)^{T} = {\left( {{\begin{bmatrix} H_{N/2} & 0 \\ 0 & H_{N/2} \end{bmatrix}\begin{bmatrix} I_{N/2} & I_{N/2} \\ I_{N/2} & {- I_{N/2}} \end{bmatrix}}\begin{bmatrix} S_{N/2} & 0 \\ 0 & {2\left( \frac{H_{N/2}}{N/2} \right)} \end{bmatrix}} \right)^{T}.}}}}$
 7. The signal processing device of claim 3, wherein the Slant matrix calculator performs the matrix operation for a matrix S(N) in the following equation: $\begin{matrix} {{\left\lbrack \Pr \right\rbrack_{N}{{S(N)}\lbrack{Pc}\rbrack}_{N}} = {\frac{1}{\sqrt{N}}\begin{bmatrix} H_{N/2} & H_{N/2} \\ A_{N/2} & {- A_{N/2}} \end{bmatrix}}} \\ {= {\frac{1}{\sqrt{N}}{\left( {\begin{bmatrix} I_{N/2} & I_{N/2} \\ I_{N/2} & {- I_{N/2}} \end{bmatrix}\begin{bmatrix} H_{N/2} & 0_{4} \\ 0_{4} & A_{N/2} \end{bmatrix}} \right)^{T}.}}} \end{matrix}$
 8. The signal processing device of claim 1, wherein the matrix calculator comprises a hybrid architecture for selectively performing the DCT-II matrix operation, the Haar matrix operation, and the Slant matrix operation.
 9. The signal processing device of claim 1, wherein the switch part and the matrix calculator are implemented as a single chip.
 10. An image processing device for encoding an image signal using the signal processing device according to any one of claim
 1. 